package adv331;

import java.io.*;

/**
 * @author oldliu
 * @since 1.0
 */
public class StreamToChar {
    public static void main(String[] args) {
        try {
            InputStream in=new FileInputStream("d:/temp/111.txt");
            Reader reader=new InputStreamReader(in);
            BufferedReader br=new BufferedReader(reader);
            String str=br.readLine();
            System.out.println(str);
            br.close();//都关了

        } catch (Exception e) {
            e.printStackTrace();
        }

    }
}
